const path = require('path')
const fs = require('fs')
var str = ''
for (let i = 0; i < 1000000; i++) {
  str += `export function name${i}() {return "xie"}`
}
fs.writeFile(path.join(__dirname, './demo.js'), str, () => {

})